/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb.person;

import javax.ejb.Remote;

/**
 *
 * @author Gebruiker
 */
@Remote
public interface SupplierBeanRemote {

    public java.lang.Integer createSupplier(java.lang.String name, java.lang.Integer number, java.util.Collection<java.lang.Long> telecom, java.lang.Integer languageid, java.lang.Long addressid);

    public void editSupplier(java.lang.Integer id, java.lang.String name, java.lang.Integer number, java.util.Collection<java.lang.Long> telecom, java.lang.Integer languageid, java.lang.Long addressid);

    public void removeSupplier(java.lang.Integer id);

    public boolean exists(java.lang.Integer number);

    public util.person.SupplierDetails findByNumber(java.lang.Integer number);

    public util.person.SupplierDetails getSupplierDetails(java.lang.Integer id);

    public java.util.Collection<util.person.SupplierDetails> getAllSupplierDetails();

    public void addTelecomToSupplier(java.lang.Integer supplierId, java.lang.Integer TelecomId);
    
}
